package com.hibase.core.bireport.service.bi;

import com.github.pagehelper.PageInfo;
import com.hibase.core.bireport.entity.bi.WmsBiConfig;
import com.hibase.core.bireport.entity.bi.vo.WmsBiConfigSearchVO;
import com.hibase.core.mybatis.service.BaseService;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenfeng
 * @since 2021-11-08
 */
@Transactional(readOnly = true, rollbackFor = Exception.class)
public interface BiConfigService extends BaseService<WmsBiConfig> {

    /**
     * 查询列表
     *
     * @param searchVO
     * @return
     */
    PageInfo<WmsBiConfig> selectWmsBiConfigList(WmsBiConfigSearchVO searchVO);

    /**
     * 改变记录
     *
     * @param entity
     * @return
     */
    void saveWmsBiConfig(WmsBiConfig entity);

    /**
     * 查询详情
     *
     * @param id
     * @return
     */
    WmsBiConfig viewWmsBiConfig(String id);

    /**
     * 删除
     *
     * @param id
     */
    void deleteWmsBiConfig(String id);

    /**
    * 导出记录
    * @param searchVO
    * @return
    */
    public void exportWmsBiConfig(WmsBiConfigSearchVO searchVO, HttpServletResponse response);
}
